package math;
/*
 * (int)(10*Math.random())
 */
public class MathMethod {
	public static void main(String[] args) {
		int n=0;
		for (int i = 0; i < 5; i++) {
			n=Math.abs((int)(10*Math.random())-3);
			if(n==0)
				n+=1;
			System.out.print(n+" ");
		}
	}

}
